package repositories;
import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import orm.Actor;

@Transactional
@Repository
public interface ActorRepository extends JpaRepository<Actor,Short>{
	List<Actor> findAll();
	List<Actor> findByFirstName(String firstName);
}
